package com.excel.imprt;

import com.excel.read.Config;
import com.excel.read.DBTable;
import com.operation.RecordOperation;

public class Test {

	public static void main(String[] args) {
		
		
		Config.generateTable("d:\\table_config.xls");		
		//RecordOperation.insert();
		
		
		
	}
	
	
	public int getIndex(String name, String[] names) {
		int index = -1;
		for(int i=0; i<names.length; i++) {
			String aName = names[i];
			if(aName.equals(name)) {
				index = i;
				break;
			}
		}
		return index;
	}
}
